package com.ling.design.factory;

import java.util.concurrent.TimeUnit;

/**
 * @author: ling007
 * @date: 2024/8/28 16:59
 * @description: 适配器接口
 */
public interface ICacheAdapter {

    String get(String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);
}
